package com.arges.web.service;

import com.arges.web.domain.bean.DocBean;
import com.arges.web.domain.pojo.Doc;
import com.arges.web.page.PageInfo;

/**
 * doctor业务层
 *
 * @author zxj
 *
 */
public interface DocManager extends GenericManage<Doc, DocBean>
{
	/**
	 * 根据用户名获取用户
	 * 
	 * @param name
	 */
	public DocBean getByName(String name);

	/**
	 * 分页查询
	 * 
	 * @param userName
	 * @param PageInfo<Doc>
	 */
	public PageInfo<DocBean> getPageDoc(PageInfo<Doc> pageInfo, String userName);

	/**
	 * 根据id获取用户
	 * 
	 * @param name
	 */
	public DocBean findDocById(long parseLong);

	/**
	 * 删除、批量删除用户
	 * 
	 * @param name
	 */
	public void deleteByIds(String ids);

	/**
	 * 冻结、批量冻结用户
	 * 
	 * @param name
	 */
	public void unFreeByIds(String ids);

	/**
	 * 解冻、批量解冻用户
	 * 
	 * @param name
	 */
	public void freeByIds(String ids);

	public DocBean findWorkByEno(String eno);

}
